package com.yiren.manager.form.system;

import java.util.Date;
import java.util.List;

import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.yiren.core.form.GenericForm;
import com.yiren.manager.utils.CustomJsonDateDeserializer;

public class YrSysMenuForm extends GenericForm{

	private static final long serialVersionUID = 4507544998008959241L;

	private String sysMenuId;

	private String createId;

	private Date createTime;

	private String menuCode;

	private String menuName;

	private String parentId;

	private String updateId;

	private Date updateTime;
	
	private List<YrSysModelForm> sysModelForms;
	
	private List<YrSysMenuForm> children;
	
	public List<YrSysMenuForm> getChildren() {
		return children;
	}

	public void setChildren(List<YrSysMenuForm> children) {
		this.children = children;
	}

	public List<YrSysModelForm> getSysModelForms() {
		return sysModelForms;
	}

	public void setSysModelForms(List<YrSysModelForm> sysModelForms) {
		this.sysModelForms = sysModelForms;
	}

	public String getSysMenuId() {
		return sysMenuId;
	}

	public void setSysMenuId(String sysMenuId) {
		this.sysMenuId = sysMenuId;
	}

	public String getCreateId() {
		return createId;
	}

	public void setCreateId(String createId) {
		this.createId = createId;
	}

	public Date getCreateTime() {
		return createTime;
	}

	@JsonDeserialize(using=CustomJsonDateDeserializer.class)
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public String getMenuCode() {
		return menuCode;
	}

	public void setMenuCode(String menuCode) {
		this.menuCode = menuCode;
	}

	public String getMenuName() {
		return menuName;
	}

	public void setMenuName(String menuName) {
		this.menuName = menuName;
	}

	public String getParentId() {
		return parentId;
	}

	public void setParentId(String parentId) {
		this.parentId = parentId;
	}

	public String getUpdateId() {
		return updateId;
	}

	public void setUpdateId(String updateId) {
		this.updateId = updateId;
	}

	public Date getUpdateTime() {
		return updateTime;
	}

	@JsonDeserialize(using=CustomJsonDateDeserializer.class)
	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}
	
}
